package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class KindItem  extends BaseDomain{
    private static final long serialVersionUID = 1L;

    private String kindName;

    private String info;

    private Long price;

    private int admin;
    //封装格式
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    //输出格式
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date kdate =new Date();


}